package com.bknow.model;

import java.io.Serializable;

public class ResultBean <T> implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//状态码
	private Integer status;
	//信息
	private String msg;
	//数据
	private T data;
	public ResultBean() {
		
	}
	public ResultBean(Integer status, String msg, T data) {
		this.status = status;
		this.msg = msg;
		this.data = data;
	}
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
	@Override
	public String toString() {
		return "ResultBean [status=" + status + ", msg=" + msg + ", data=" + data + "]";
	}
	
	
}
